let t = require;
let  e = module
let  o =  e.exports;
 o.default =  e.exports;

                'use strict';
                console.log("start");
                var _n92,
                    i =
                    (this && this.__extends) ||
                    ((_n92 = function n(t, e) {
                            return (_n92 =
                                Object.setPrototypeOf ||
                                ({
                                        __proto__: []
                                    }
                                    instanceof Array &&
                                    function(t, e) {
                                        t.__proto__ = e;
                                    }) ||
                                function(t, e) {
                                    for (var o in e) {
                                        Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]);
                                    }
                                })(t, e);
                        }),
                        function(t, e) {
                            function o() {
                                this.constructor = t;
                            }
                            _n92(t, e),
                                (t.prototype =
                                    null === e ?
                                    Object.create(e) :
                                    ((o.prototype = e.prototype), new o()));
                        });
                Object.defineProperty(o, '__esModule', {
                        value: !0
                    }),
                    (o.GeneralTipsItem = void 0);
                var r = t('UIComponent'),
                    a = t('ComUtils'),
                    s = (function(t) {
                        function e() {
                            return (null !== t && t.apply(this, arguments)) || this;
                        }
                        return (
                            i(e, t),
                            (e.prototype.onInit = function() {
                                t.prototype.onInit.call(this),
                                    (this._root = this.view.getChildByName('root')),
                                    (this._txtTips = a.default.getComponent(
                                        cc.Label,
                                        this.view,
                                        'root/txtTips'
                                    ));
                            }),
                            (e.prototype.setTips = function(t) {
                                this._txtTips.string = t;
                            }),
                            (e.prototype.onShow = function() {
                                t.prototype.onShow.call(this), this.startEffect();
                            }),
                            (e.prototype.startEffect = function() {
                                (this._root.scaleY = 1),
                                (this._root.opacity = 0),
                                (this._root.y = -50),
                                cc
                                    .tween(this._root)
                                    .to(0.2, {
                                        scaleY: 1,
                                        opacity: 255,
                                        y: 0
                                    })
                                    .delay(1)
                                    .to(0.2, {
                                        y: 50,
                                        opacity: 0
                                    })
                                    .call(this.removeByParent.bind(this))
                                    .start();
                            }),
                            e
                        );
                    })(r.UIComponent);
                (o.GeneralTipsItem = s), console.log("end");
            module.exports =  e.exports;